* {
    margin: 0;padding: 0;
    box-sizing: border-box;
}
body {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-image: url(../../images/login/login-bg.jpg);
    background-size: cover;
    position: relative;
}
.container {
    width: 100%;
    max-width: 758px;
    height: 420px;
    position: relative;
    margin: auto;
    /* background-color: rgba(255,255,255,0.5); */
}
.formbox {
    height: 100%;
    position: absolute;
    top: 0;
    transition: all 0.5s ease-in-out;

}
.login {
    left: 0;
    width: 50%;
    z-index: 2;
}
.register {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}
.form {
    background-color: #efefef;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 0 3rem;
    height: 100%;
    text-align: center;
    border-radius: 10px 0 0 10px;

}
.title {
    font-weight: 300;
    margin: 0;
    margin-bottom: 1.25rem;
    color: #666;
    font-weight: 700;
}
.input {
    background-color: #fff;
    border: none;
    padding: 0.9rem 0.9rem;
    margin: 0.5rem 0;
    width: 100%;
    border-radius: 10px;
    outline: navajowhite;
}
.link {
    color: #333;
    font-size: 16px;
    text-decoration: none;
    margin: 1.5rem 0;
}
.btn{
    /* width: 150px; */
    /* height: 2px; */
    border-radius: 5px;
    border: none;
    color: #e9e9e9;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    padding: 0.9rem 4rem;
   text-transform: uppercase;
   transition: transform 80ms ease-in;
    border: none;
    position: relative;
    background-color: #89e291;
    color: #fff;
    border-radius: 15px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: all 0.5s;
    text-align: center;
    font-size: 20px;
    /* margin-right: 20px; */
    letter-spacing: 0.1rem;

  }
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform: skewX(-45deg);
  }
.btn:hover::before {
    left: 120%;
    transition: all 0.5s;
  }
 .btn:hover {
    background-color: #37e927d7;
    font-weight: 700;
  }
  


.form>.btn {
    margin-top: 1.5rem;
}
.btn:active {
    transform: scale(0.95);
}
.overlay-box {
    height: 100%;
    left: 50%;
    overflow: hidden;
    position: relative;
    top: 0;
    transition: transform 0.5s ease-in-out;
    width: 50%;
    z-index: 100;
    
}
.overlay {
    background-color: rgba(255, 255, 255, 0.25);
    height: 100%;
    left: -100%;
    position: relative;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
    width: 200%;
    border-radius: 10px;

}
.panel {
    width: 50%;
    height: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    text-align: center;
    top: 0px;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}
.over-left {
    transform: translateX(-20%);
}
.over-right {
    right: 0;
    transform: translateX(0);
}
.panel-active .form {
    border-radius: 0 10px 10px 0;
}
.panel-active .login {
    transform: translateX(100%);
}
.panel-active  .register {
    opacity: 1;
    transform: translateX(100%);
    z-index: 3;
}
.panel-active .overlay-box {
    transform: translateX(-100%);
}
.panel-active .overlay {
    transform: translateX(50%);
} 
.panel-active .over-left  {
    transform: translateX(0);
}
.panel-active .over-right {
    transform: translateX(20%);
}
.title-logo {
    position: absolute;
    width: 400px;
    height: 200px;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.title-logo img {
    width: 80%;
}
.title-logo  .text {
    color: #fff;
    font-size: 30px;
    font-weight: 200;
    font-family:  STXingkai;
    margin-top: 10px;
    letter-spacing: 5px;
}